vim.g.oscyank_max_length = 5000000
vim.cmd(
    [[
    autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | OSCYankReg " | endif
    ]]
)
